/**log4日志 */
var log4js=require('log4js');
var log4js_config = require("./logConf.json");
log4js.configure(log4js_config);

/**api*/
exports.logger=function(name){
    var logger = log4js.getLogger(name);
    logger.setLevel('ALL');
    return logger;
}